using System.Collections.Generic;

namespace ColladaDotNet
{
	public partial class animation_clip : ColladaXmlNode
	{
		public override string GetId() { return id; }
		public override IList<ColladaXmlNode> ChildNodes
		{
			get
			{
				var list = new List<ColladaXmlNode>();
				if (instance_animation != null)
					foreach (object e in instance_animation) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (extra != null)
					foreach (object e in extra) if (e is ColladaXmlNode) list.Add((ColladaXmlNode)e);
				if (asset != null)
					list.Add(asset);
				return list;
			}
		}
	}
}
